#ifndef _H_DEF_NET_LOGIN_H
#define _H_DEF_NET_LOGIN_H


#ifdef __cplusplus
extern "C" {
#endif __cplusplus

#define UserNameMAX_COUNT	15
#define User_PWDMAX_COUNT	25



#define		LOGIN_SUCCESS		0
#define		LOGIN_VaildParam	1
#define		LOGIN_WINSOCK_ERROR	2
#define		LOGIN_NotInitWinsock	4	
#define		LOGIN_TCP_NOT_SUPPORT	8
//----------------Form Other Error
#define		LOGIN_WebServiceERR	16



VOID WINAPI InitWinSorck(VOID);



DWORD 
WINAPI
Net_Login_ByS4
(
LPSTR	szServerDNSName,
LPCWSTR wszExeCutePath,
LPCWSTR	wszUserName,
LPCWSTR wszUserPwd,
LPBYTE  bDevlpID,
size_t	nsize_devlpID
);

#ifdef __cplusplus
}
#endif __cplusplus

#endif _H_DEF_NET_LOGIN_H